import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { EPlayerCredit } from "../Public/EPlayerCredit";
type int = number;
//class SPlayerCreditUpdate
    
    export  class SPlayerCreditUpdate
    {
       

        public __write(arg1: SerializeStream): void
        {
            this.type.__write(arg1);
            arg1.writeInt(this.value);
            arg1.writeDate(this.updateDt);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.type = EPlayerCredit.__read(arg1);
            this.value = arg1.readInt();
            this.updateDt = arg1.readDate();
            return;
        }

        public /* var */type: EPlayerCredit;

        public /* var */value: int;

        public /* var */updateDt: Date;
    }
